package com.ys.openapi.organization.entity;

import java.util.List;

/**
 * 云枢接口中用户实体
 */

public class UserEntity {
    /*{"departmentId":"2c2c80867ab40ee9017aca0657a30636","deptIds":[],"username":"用户账号12","name":"用户姓名12",
            "roleIds":[],"mobile":"18653178230","officePhone":"","email":"","employeeNo":"234599",
            "entryDate":"","imgUrl":"","imgUrlId":"","gender":"MALE"}  //    [OTHER, FEMALE, MALE],*/
  /*  {"departmentId":"主部门ID","deptIds":"兼职部门ID集合","username":"用户账号","name":"用户姓名","roleIds":"角色ID集合",
            "mobile":"手机号","officePhone":"办公电话","email":"邮箱","employeeNo":"员工编号","entryDate":"入职时间",
            "imgUrl":"头像url","imgUrlId":"头像Id","gender":"性别"}*/
    private String id;
    private String departmentId;
    private String username;
    private String name;
    private String mobile;
    private String officePhone;
    private String email;
    private String employeeNo;
    private String entryDate;
    private String imgUrl;
    private String imgUrlId;
    private String gender;
    private String newEmail;//邮件
    private String newMsn;//是否管理员
    private List customerRole;//管理组
    private List deptIds;
    private List roleIds;
    private List UserUnionExtAttrModel;

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getOfficePhone() {
        return officePhone;
    }

    public void setOfficePhone(String officePhone) {
        this.officePhone = officePhone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEmployeeNo() {
        return employeeNo;
    }

    public void setEmployeeNo(String employeeNo) {
        this.employeeNo = employeeNo;
    }

    public String getEntryDate() {
        return entryDate;
    }

    public void setEntryDate(String entryDate) {
        this.entryDate = entryDate;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getImgUrlId() {
        return imgUrlId;
    }

    public void setImgUrlId(String imgUrlId) {
        this.imgUrlId = imgUrlId;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public List getDeptIds() {
        return deptIds;
    }

    public void setDeptIds(List deptIds) {
        this.deptIds = deptIds;
    }

    public List getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(List roleIds) {
        this.roleIds = roleIds;
    }

    public List getUserUnionExtAttrModel() {
        return UserUnionExtAttrModel;
    }

    public void setUserUnionExtAttrModel(List userUnionExtAttrModel) {
        UserUnionExtAttrModel = userUnionExtAttrModel;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNewEmail() {
        return newEmail;
    }

    public void setNewEmail(String newEmail) {
        this.newEmail = newEmail;
    }

    public String getNewMsn() {
        return newMsn;
    }

    public void setNewMsn(String newMsn) {
        this.newMsn = newMsn;
    }

    public List getCustomerRole() {
        return customerRole;
    }

    public void setCustomerRole(List customerRole) {
        this.customerRole = customerRole;
    }

    @Override
    public String toString() {
        return "UserEntity{" +
                "id='" + id + '\'' +
                ", departmentId='" + departmentId + '\'' +
                ", username='" + username + '\'' +
                ", name='" + name + '\'' +
                ", mobile='" + mobile + '\'' +
                ", officePhone='" + officePhone + '\'' +
                ", email='" + email + '\'' +
                ", employeeNo='" + employeeNo + '\'' +
                ", entryDate='" + entryDate + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", imgUrlId='" + imgUrlId + '\'' +
                ", gender='" + gender + '\'' +
                ", newMsn='" + newMsn + '\'' +
                ", newEmail='" + newEmail + '\'' +
                ", deptIds=" + deptIds +
                ", roleIds=" + roleIds +
                ", UserUnionExtAttrModel=" + UserUnionExtAttrModel +
                ", customerRole=" + customerRole +
                '}';
    }
}
